package com.groupseven.happycampus.service;

import com.groupseven.happycampus.common.pojo.Fixture;
import com.groupseven.happycampus.common.result.LayuiPageVo;

import java.util.Map;

public interface FixtureService {


    /**
     *
     * @param params
     * @return
     */

    LayuiPageVo<Fixture> selectFixture(Map<String, Object> params);


    /**
     * 添加赛程信息
     * @param fixture
     * @return
     */
    int addFixture(Fixture fixture);



    /**
     * 根据赛程编号(id)删除赛程信息
     * @param id
     * @return
     */
    int deleteFixtureById(Integer id);



    /**
     * 根据赛程编号(ids)批量删除赛程信息
     * @param ids
     * @return
     */
    int deleteFixtureByIds(String ids);


    /**
     * 修改赛程信息
     * @param fixture
     * @return
     */
    int updateFixture(Fixture fixture);
}
